<?php

/**
 * Generated Model class.
 */
class CommentCriteria extends Criteria
{

    private $id = null;

    private $profile_id = null;

    private $text = null;

    private $is_approved = null;

    private $date = null;

    private $substance_type_id = null;

    private $substance_id = null;

    /**
     * Set new value for comment.id column in current Row.
     * 
     * @param int $IdFromCommentCriteria
     * @return void
     */
    public function setId($Id)
    {
        $this->__set("id", $Id);
    }

    /**
     * Return comment.id column value in current Row.
     * 
     * @return int
     */
    public function getId()
    {
        return $this->__get("id");
    }

    /**
     * Set new value for comment.profile_id column in current Row.
     * 
     * @param int $ProfileIdFromCommentCriteria
     * @return void
     */
    public function setProfileId($ProfileId)
    {
        $this->__set("profile_id", $ProfileId);
    }

    /**
     * Return comment.profile_id column value in current Row.
     * 
     * @return int
     */
    public function getProfileId()
    {
        return $this->__get("profile_id");
    }

    /**
     * Set new value for comment.text column in current Row.
     * 
     * @param text $TextFromCommentCriteria
     * @return void
     */
    public function setText($Text)
    {
        $this->__set("text", $Text);
    }

    /**
     * Return comment.text column value in current Row.
     * 
     * @return text
     */
    public function getText()
    {
        return $this->__get("text");
    }

    /**
     * Set new value for comment.is_approved column in current Row.
     * 
     * @param tinyint $IsApprovedFromCommentCriteria
     * @return void
     */
    public function setIsApproved($IsApproved)
    {
        $this->__set("is_approved", $IsApproved);
    }

    /**
     * Return comment.is_approved column value in current Row.
     * 
     * @return tinyint
     */
    public function getIsApproved()
    {
        return $this->__get("is_approved");
    }

    /**
     * Set new value for comment.date column in current Row.
     * 
     * @param datetime $DateFromCommentCriteria
     * @return void
     */
    public function setDate($Date)
    {
        $this->__set("date", $Date);
    }

    /**
     * Return comment.date column value in current Row.
     * 
     * @return datetime
     */
    public function getDate()
    {
        return $this->__get("date");
    }

    /**
     * Set new value for comment.substance_type_id column in current Row.
     * 
     * @param int $SubstanceTypeIdFromCommentCriteria
     * @return void
     */
    public function setSubstanceTypeId($SubstanceTypeId)
    {
        $this->__set("substance_type_id", $SubstanceTypeId);
    }

    /**
     * Return comment.substance_type_id column value in current Row.
     * 
     * @return int
     */
    public function getSubstanceTypeId()
    {
        return $this->__get("substance_type_id");
    }

    /**
     * Set new value for comment.substance_id column in current Row.
     * 
     * @param int $SubstanceIdFromCommentCriteria
     * @return void
     */
    public function setSubstanceId($SubstanceId)
    {
        $this->__set("substance_id", $SubstanceId);
    }

    /**
     * Return comment.substance_id column value in current Row.
     * 
     * @return int
     */
    public function getSubstanceId()
    {
        return $this->__get("substance_id");
    }


}

